import request from '@/utils/request'

// 查询监测点信息列表
export function listDispatchPressureMonitoringPoints(query) {
  return request({
    url: '/system/dispatchPressureMonitoringPoints/list',
    method: 'get',
    params: query
  })
}

// 查询监测点信息详细
export function getDispatchPressureMonitoringPoints(monitoringPointId) {
  return request({
    url: '/system/dispatchPressureMonitoringPoints/' + monitoringPointId,
    method: 'get'
  })
}

// 新增监测点信息
export function addDispatchPressureMonitoringPoints(data) {
  return request({
    url: '/system/dispatchPressureMonitoringPoints',
    method: 'post',
    data: data
  })
}

// 修改监测点信息
export function updateDispatchPressureMonitoringPoints(data) {
  return request({
    url: '/system/dispatchPressureMonitoringPoints',
    method: 'put',
    data: data
  })
}

// 删除监测点信息
export function delDispatchPressureMonitoringPoints(monitoringPointId) {
  return request({
    url: '/system/dispatchPressureMonitoringPoints/' + monitoringPointId,
    method: 'delete'
  })
}
